#!/bin/bash

#捕获信号
trap "echo Catch a Signal" SIGINT

echo "This is a test program"

count=1

while test $count -le 10
do
    echo "Loop $count"
    sleep 1
    count=$[ $count + 1 ]
done
echo "This is the end of the testing"

